package com.comment.dubbo.service;

import java.util.List;
import java.util.Map;

public interface SystemEmailsService {

    /**
     * 发送邮件
     *
     * @param title
     * @param content
     * @param expirationDay
     * @param uidList
     * @param attachment    key prop type map<Long(物品id),Long(数量)>
     * @return
     */
    boolean sendEmail(
            String title,
            String content,
            Integer expirationDay,
            List<Long> uidList,
            Map<String, Object> attachment
    );
}
